package io.renren.modules.workjobs.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author nyc
 * @email 2691778746@qq.com
 * @date 2022-03-12 14:33:03
 */
@Data
@TableName("tb_user_position")
public class UserPositionEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 
	 */
	private Long userId;
	/**
	 * 
	 */
	private String positionId;
	/**
	 * 
	 */
	@TableLogic
	private Integer isDeleted;
	/**
	 * 
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	/**
	 * 
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;

	public UserPositionEntity(Long userId, String positionId) {
		this.userId = userId;
		this.positionId = positionId;
	}
}
